<h3 class="titleBlock">General Information</h3>
<div class="contentBlock autoHeight">
	<?php echo fx_control::newInstance('manga[entity_type_id]')
									 ->createType('hidden')
									 ->setData('value', '2')
									 ->render(); 
				?>
	<?php echo fx_control::newInstance('manga[user_id]')
									 ->createType('hidden')
									 ->setData('value', '1')
									 ->render(); 
				?>
	<table class="fieldSet fullWidth">
		<tr>
			<td class="fieldLabel">Name</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[name]')
									 ->createType('text')
									 ->binding($model, 'name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Code</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[code]')
									 ->createType('text')
									 ->binding($model, 'code')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Alternate Names</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[alternate_name]')
									 ->createType('editor')
									 ->binding($model, 'alternate_name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">National Type</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[manga_type_id]')
									 ->createType('combobox')
									 ->addOption('--- Select Manga Type ---', 0)
									 ->binding($model, 'manga_type_id', $manga_types, 'id/name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Manga Type</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[national_type_id]')
									 ->createType('combobox')
									 ->addOption('--- Select National Type ---', 0)
									 ->binding($model, 'national_type_id', $national_types, 'id/name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Thumbnail</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga_thumb')
									 ->createType('file')
									 ->binding($model, 'thumb_image')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Cover</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga_cover')
									 ->createType('file')
									 ->binding($model, 'cover_image')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Summary</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[summary]')
									 ->createType('editor')
									 ->binding($model, 'summary')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Active</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[is_active]')
									 ->createType('option')
									 ->addOption('Select Status', '')
									 ->addOption('Active', 1)
									 ->addOption('DeActive', 0)
									 ->binding($model, 'is_active')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Complete Series</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[complete_series]')
									 ->createType('option')
									 ->addOption('Select Status', '')
									 ->addOption('Finish', 1)
									 ->addOption('On Going', 0)
									 ->binding($model, 'complete_series')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Download Links</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('manga[download_links]')
									 ->createType('editor')
									 ->binding($model, 'download_links')
									 ->render(); 
				?>
			</td>
		</tr>
	</table>
</div>